package com.hxxy.wyp.petsLover.common.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ShopCart {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String commodityName;
    private double commodityPrice;
    private long commodityNumber;
    private double commoditySubtotal;
    private long goodId;
    private String isCompute;
    private long userId;


    @TableField(exist = false)
    private Good good;

}
